package com.ruoyi.archives.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 档案管理对象 sys_archivessystem
 *
 * @author gzhankh
 * @date 2022-02-26
 */
public class SysArchivessystem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 学号 */
    @Excel(name = "学号")
    private String arcNum;

    /** 身份证 */
    @Excel(name = "身份证")
    private String personId;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 用户性别（0男 1女 2未知） */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 民族 */
    @Excel(name = "民族")
    private String national;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String familyPlace;

    /** 专业 */
    @Excel(name = "专业")
    private String professional;

    /** 入学时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入学时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date admissionTime;

    /** 毕业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毕业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date graduationTime;

    /** 入学考号 */
    @Excel(name = "入学考号")
    private String candidateNumber;

    /** 毕业证书 */
    @Excel(name = "毕业证书")
    private String graduationCard;

    /** 学生证书号 */
    @Excel(name = "学生证书号")
    private String degreeCertificate;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setArcNum(String arcNum)
    {
        this.arcNum = arcNum;
    }

    public String getArcNum()
    {
        return arcNum;
    }
    public void setPersonId(String personId)
    {
        this.personId = personId;
    }

    public String getPersonId()
    {
        return personId;
    }
    public void setAge(Long age)
    {
        this.age = age;
    }

    public Long getAge()
    {
        return age;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

    public Date getBirthday()
    {
        return birthday;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setNativePlace(String nativePlace)
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace()
    {
        return nativePlace;
    }
    public void setNational(String national)
    {
        this.national = national;
    }

    public String getNational()
    {
        return national;
    }
    public void setFamilyPlace(String familyPlace)
    {
        this.familyPlace = familyPlace;
    }

    public String getFamilyPlace()
    {
        return familyPlace;
    }
    public void setProfessional(String professional)
    {
        this.professional = professional;
    }

    public String getProfessional()
    {
        return professional;
    }
    public void setAdmissionTime(Date admissionTime)
    {
        this.admissionTime = admissionTime;
    }

    public Date getAdmissionTime()
    {
        return admissionTime;
    }
    public void setGraduationTime(Date graduationTime)
    {
        this.graduationTime = graduationTime;
    }

    public Date getGraduationTime()
    {
        return graduationTime;
    }
    public void setCandidateNumber(String candidateNumber)
    {
        this.candidateNumber = candidateNumber;
    }

    public String getCandidateNumber()
    {
        return candidateNumber;
    }
    public void setGraduationCard(String graduationCard)
    {
        this.graduationCard = graduationCard;
    }

    public String getGraduationCard()
    {
        return graduationCard;
    }
    public void setDegreeCertificate(String degreeCertificate)
    {
        this.degreeCertificate = degreeCertificate;
    }

    public String getDegreeCertificate()
    {
        return degreeCertificate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userName", getUserName())
                .append("name", getName())
                .append("arcNum", getArcNum())
                .append("personId", getPersonId())
                .append("age", getAge())
                .append("sex", getSex())
                .append("birthday", getBirthday())
                .append("telephone", getTelephone())
                .append("nativePlace", getNativePlace())
                .append("national", getNational())
                .append("familyPlace", getFamilyPlace())
                .append("professional", getProfessional())
                .append("admissionTime", getAdmissionTime())
                .append("graduationTime", getGraduationTime())
                .append("candidateNumber", getCandidateNumber())
                .append("graduationCard", getGraduationCard())
                .append("degreeCertificate", getDegreeCertificate())
                .toString();
    }
}